package com.jindianjichi.auth.domain.convert;

import com.jindianjichi.auth.domain.BO.AuthRoleBO;
import com.jindianjichi.auth.domain.BO.AuthUserBO;
import com.jindianjichi.auth.infra.basic.entity.AuthRole;
import com.jindianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRoleBoConvert {
    AuthRoleBoConvert instance= Mappers.getMapper(AuthRoleBoConvert.class);
    AuthRole convertToBoAuthRole(AuthRoleBO authRoleBO);
    AuthRoleBO convertToAuthUser(AuthRole authRole);

}
